<%-- 
    Document   : karshalogin
    Created on : Mar 26, 2012, 1:04:25 PM
    Author     : v-saba
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
 <div id="indexRightColumn">
                
<%
    String myname =  (String)session.getAttribute("username");

    if(myname!=null)
        {
            response.sendRedirect("uploaddoc");
        }
    else 
        {
%>
         
        <script>
            var ele = document.getElementById("leftside");
            ele.style.display = "none";
        </script>
        
        <form action="login.jsp">
            <table>
                <tr>
                    <td> <label>Username</label> <input name="username" type="text" /> </td> 
                </tr>
                <tr></tr>
                <tr></tr>
                
                <tr>
                    <td> <label>Password</label> <input type="password" name="password" /> </td>
                </tr>
            </table>
            <br>
            
            <input type="submit" value="login"  />
        </form>
        <% 
            }
            String msg=request.getParameter("msg");
            if(msg!=null){
        %>
            <label><font color="red"><%=msg%></font></label> 
        <%
        }
        %>

              
 </div>
